export const getMainIdStorage = () => {
    const window = localStorage.getItem('window');
    if (window) {
        return JSON.parse(window).mainId;
    }
    return 1;
}
export const getGiftIdStorage = () => {
    const window = localStorage.getItem('window');
    if (window) {
        return JSON.parse(window).giftId;
    }
    return 0;
}
export const getWinCountStorage = () => {
    const window = localStorage.getItem('window');
    if (window) {
        return JSON.parse(window).winCount;
    }
    return 1;
}
export const getCameraIdStorage = () => {
    const window = localStorage.getItem('window');
    if (window) {
        return JSON.parse(window).cameraId;
    }
    return 1;
}
export const getDeployIdStorage = () => {
    const window = localStorage.getItem('window');
    if (window) {
        return JSON.parse(window).deployId;
    }
    return 1;
}
export const getModelIdStorage = () => {
    const window = localStorage.getItem('window');
    if (window) {
        return JSON.parse(window).modelId;
    }
    return 1;
}